/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package db;

import beans.AdminBean;
import java.sql.*;
import utils.Util;

/**
 *
 * @author quangphamngoc
 */
public class TestDB {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        if( LoginDB.doLogin("admin", "admin")){
            AdminBean adBean = LoginDB.currentAdmin;
            System.out.println(Util.forDateMMMYYYY(adBean.getAd_StartTime()));
        }
        
    }
    
}
